/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/*
* Copyright 2010, Center for Advanced Information Systems,Nanyang Technological University
*
* File name: Cluster.java
*
* Abstract:  The cluster structure in DF-index
*
* Current Version:      0.1
* Auther:               Jin Changjiu
* Modified Date:        Mar.5, 2010
*
*/
package gblend.frequentindex;

import java.util.Vector;

/**
 *
 * @author cjjin
 */
public class Cluster {
   private Vector<Integer> nodeset = new Vector<Integer>();
   private Vector<String> edges = new Vector<String>();
   private int src;
   private int trg;


   public void setNode(int id)
   {
        nodeset.addElement(id);

   }

   public void setEdge(int src, int trg)
   {

    edges.addElement(src+" "+trg);
   }

   public Vector<Integer> getNodeset()
   {
    return nodeset;

   }

    public Vector<String> getEdges()
   {
    return edges;

   }




}
